/**********************************/
/********** ADAPTS START **********/
/**********************************/
*:before,
*:after {
    -webkit-transform: translateZ(0);
}
@media only screen and (max-width: 1700px) {
    .mail-content .message .content {
        max-height: 845px;
    }
}
@media only screen and (max-width: 1024px) {
    body {
        /* navbar */
    }
    body .navbar .search input {
        width: 120px;
    }
    body .navbar .navbar-nav.quick-actions {
        position: absolute;
        right: -260px;
        top: 0;
    }
    body .navbar.collapsed .navbar-nav.quick-actions {
        right: 0;
    }
    /*body #wrap #content {
        padding-left: 55px;
    }*/
    html.mm-right.mm-opening .mm-fixed-top {
        right: 0;
    }
    html.mm-opened #wrap > .row #content {
        padding-right: 25px;
    }
@media only screen and (max-width: 970px) {
    body {
        /* tables */
        /* tile navbar */
        /* mail */
    }
    body .table-responsive {
        border: 0;
        overflow-y: hidden;
        overflow-x: scroll;
        width: 100%;
    }
    body .table-responsive table {
        min-width: 920px;
    }
    body .table-responsive.inbox {
        overflow: auto;
    }
    body .table-responsive.inbox table {
        min-width: 600px;
    }
    body #content .tile .tile-navbar {
        text-align: center;
    }
    body #content .tile .tile-navbar > li {
        border-right: 0;
    }
    body #content .tile .tile-navbar > li .checkbox label:after {
        text-align: left;
    }
    body #content .tile .tile-navbar > li.filters {
        float: none;
        display: block;
        margin-top: 5px;
        padding-top: 5px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    body #content ul.inbox > li.msg div p {
        width: 180px;
    }
}
@media only screen and (max-width: 768px) {
    body {
        /* navbar */
        /* pageheader */
        /* recent activity */
        /* datatables */
        /* misc */
        /* mail */
    }
    body .navbar.navbar-default .navbar-collapse {
        border: 0;
        -webkit-box-shadow: none;
        box-shadow: none;
        max-height: 45px;
    }
    body .navbar.navbar-default .navbar-collapse .navbar-nav.side-nav > li.collapsed-content {
        display: block;
    }
    body .navbar.navbar-default .navbar-collapse .nav > li > a {
        padding: 0 10px;
    }
    body .navbar.navbar-default .navbar-collapse .nav .open .dropdown-menu {
        position: absolute;
        background-color: white; }
    body .navbar.navbar-default .navbar-collapse .nav .open .dropdown-menu.wide {
        left: -130px;
        width: 210px !important;
        max-width: 210px !important;
    }
    body .navbar.navbar-default .navbar-collapse .nav .open .dropdown-menu.wider {
        width: 280px !important;
        max-width: 280px !important;
        left: -180px;
    }
    body .navbar.navbar-default .navbar-collapse .nav .open .dropdown-menu.arrow:before {
        left: auto;
        right: 73px;
    }
    body .navbar.navbar-default .navbar-collapse .nav .open .dropdown-menu.arrow.wide:before {
        right: 53px;
    }
    body .navbar.navbar-default .navbar-collapse .nav.refresh {
        position: absolute;
        top: 0;
        left: 250px;
        margin: 0;
    }
    body .navbar.navbar-default .navbar-collapse .nav.refresh > li:after {
        display: none;
    }
    body .navbar.navbar-default .navbar-collapse .nav.quick-actions {
        margin: 0; }
    body .navbar.navbar-default .navbar-collapse .nav.quick-actions > li {
        display: inline-block;
        vertical-align: top;
    }
    body .navbar.navbar-default .navbar-collapse .nav.quick-actions .dropdown .dropdown-menu.messages > li > a .message-info {
        width: 195px;
    }
    body .navbar.collapsed .navbar-collapse .nav.refresh {
        left: 40px;
    }
    body .navbar.collapsed .navbar-nav.side-nav > li.collapsed-content {
        display: none !important;
    }
    body .right-panel .nav-tabs {
        overflow: hidden; }
    body .right-panel .nav-tabs > li {
        display: table-cell;
        width: 1%;
    }
    body .pageheader {
        text-align: center;
        position: static;
    }
    body .pageheader h2 {
        display: block;
        font-size: 26px;
    }
    body .pageheader h2 span {
        font-size: 14px;
    }
    body .pageheader .breadcrumbs {
        position: static;
        display: block;
    }
    body .pageheader .breadcrumbs .breadcrumb {
        background-color: rgba(0, 0, 0, 0.1);
    }
    body .table-options {
        margin: 5px 0;
    }
    body .recent-activity .tab-content > ul > li .time {
        display: none;
    }
    body .dataTables_wrapper div.dataTables_length label {
        float: none;
        width: 100%;
        margin-bottom: 10px !important;
    }
    body .dataTables_wrapper div.dataTables_filter label {
        float: none;
        width: 100%;
        text-align: center;
    }
    body .dataTables_wrapper div.dataTables_filter label input {
        width: 100% !important;
    }
    body .dataTables_wrapper .delete-row,
    body .dataTables_wrapper .add-row {
        left: auto !important;
        right: 0 !important;
    }
    body .sm-center {
        text-align: center;
        margin: 5px 0 !important;
    }
    body .sm-left {
        text-align: left;
        margin: 10px 0 !important;
    }
    body #content .vertical-mail > .row,
    body #content .horizontal-mail > .row {
        display: block;
    }
    body #content .vertical-mail > .row > div[class*='col-'],
    body #content .horizontal-mail > .row > div[class*='col-'] {
        padding: 15px;
        display: block;
    }
    body #content .vertical-mail ul.navigation,
    body #content .vertical-mail ul.inbox,
    body #content .horizontal-mail ul.navigation,
    body #content .horizontal-mail ul.inbox {
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        -ms-border-radius: 4px;
        -o-border-radius: 4px;
        border-radius: 4px;
    }
    body #content .vertical-mail .mail-content .message .content,
    body #content .horizontal-mail .mail-content .message .content {
        max-height: none;
        overflow: visible !important;
    }
    body #content .horizontal-mail > .row > div[class*='col-']:last-child {
        padding-left: 15px;
    }
    body #content .horizontal-mail .inbox {
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        -ms-border-radius: 4px;
        -o-border-radius: 4px;
        border-radius: 4px; 
    }
    body #content .horizontal-mail .mail-content {
        padding: 0; }
    }
@media only screen and (max-width: 479px) {
    body {
        /* pageheader */
        /* tiles */
        /* recent activity */
        /* login page */
    }
    body .pageheader {
      text-align: left;
    }
    body .pageheader h2 {
        font-size: 18px;
        font-weight: 300;
    }
    body .pageheader h2 span {
          font-size: 12px;
    }
    body .pageheader h2 i {
        font-size: 14px;
        height: 30px;
        width: 30px;
        line-height: 24px !important;
    }
    body .pageheader .breadcrumbs ol.breadcrumb > li {
        font-size: 10px;
    }
    body #content .tile .tile-header .search {
        float: none;
        display: block;
        margin-top: 15px;
    }
    body #content .tile .tile-header .search input {
        width: 100%;
    }
    body .recent-activity .tab-content > ul > li {
        font-size: 11px;
    }
    body .recent-activity .tab-content > ul > li .user {
        margin: 0 0 0 10px;
        position: relative;
    }
    body .recent-activity .tab-content > ul > li .user:after {
        display: none;
    }
    body #content.full-page .inside-block {
        width: 70%;
        height: 100%;
    }
    body #content.full-page .inside-block form {
        margin-bottom: 40px;
    }
    /*body #content.full-page .search {
        right: 25%;
        top: 10px;
    }*/
}
/**********************************/
/*********** ADAPTS END ***********/
/**********************************/